import axios from 'axios';
import conf from '@/conf';

const service = axios.create({
  baseURL: conf.baseUrl,
});

service.interceptors.request.use((config) => config);

service.interceptors.response.use(
  (res) => res,
  (err) => Promise.reject(err)
);

export default service;
